package cn.kgc.dao;

import cn.kgc.pojo.GUser;
import cn.kgc.pojo.Pdm;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author: X9527M
 * @date: 2022/2/25
 * @description:
 */
@Mapper
public interface GUserDao {
    Page<GUser> GUsers(String userName, String rname, String brName);

    int del(@Param("id") int id);

    int upd(GUser GUser);

    int add(GUser GUser);


    GUser findByUserCode(String userCode);

    List<GUser> selId(@Param("id") Integer id);
}
